package com.wei.czz.framework.rabbitMQ.message.blog;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2022-02-27 22:25:38
 * className: BlogMessage 博客消息类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class BlogMessage extends BaseEntity {

    /**
     * 博客id
     */
    private Long blogId;
    /**
     * 消息类型[0-增加 1-删除]
     */
    private Integer type;

    public BlogMessage() {
    }

    public BlogMessage(Long blogId, Integer type) {
        this.blogId = blogId;
        this.type = type;
    }

}
